﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Quartz.NET.Jobs;
using Quartz.NET.QuartzConfig;

namespace Quartz.NET
{
    public static class JobCronSetup
    {
        public static void GetQuartzConfigurator(this IServiceCollectionQuartzConfigurator configurator)
        {
            configurator.AddJobAndTrigger<SendEmailJob>("0/3 * * * * ?");

        }
    }
}
